package com.mbl.base.modular.mall.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.mbl.base.core.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 品牌商表
 * </p>
 *
 * @author lwj
 * @since 2020-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mbl_mall_brand")
@ApiModel(value="Brand对象", description="品牌商表")
public class Brand extends BaseEntity<Brand> {

    @ApiModelProperty(value = "品牌商名称")
    private String name;

    @ApiModelProperty(value = "品牌商页的品牌商图片")
    private String picUrl;

    private Integer sortOrder;

    @ApiModelProperty(value = "品牌商的商品低价，仅用于页面展示")
    private BigDecimal floorPrice;

    @ApiModelProperty(value = "类型：0 ：普通制造商  1：一村一品")
    private Integer brandType;

    @ApiModelProperty(value = "评分， 1-5星")
    private Integer star;

    @ApiModelProperty(value = "用户好评数")
    private Integer starCount;

    @ApiModelProperty("品牌制造商描述")
    private String mDesc;
}
